package com.example.teachingSystem.pojo.entity;

public enum ConstantEnum {
    STATUS_NORMAL(1,"正常"),
    STATUS_DISABLED(0,"停用"),
    NOT_DELETED(0,"账号未删除"),
    IS_DELETED(1,"账号已删除");

    private ConstantEnum(Integer value,String name){
        this.value=value;
        this.name=name;
    }

    /**
     * 代码
     */
    private final Integer value;

    /**
     * 名称
     */
    private final String name;

    public Integer getValue() {
        return value;
    }

    public String getName() {
        return name;
    }
}
